package com.lvy.hczn.front.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvy.hczn.front.system.domain.business.WarehouseBoxOutbound;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 货箱出库单Mapper接口
 *
 * @author ruoyi
 * @date 2023-05-23
 */
@Repository
public interface WarehouseBoxOutboundMapper extends BaseMapper<WarehouseBoxOutbound> {
    /**
     * 查询货箱出库单
     *
     * @param id 货箱出库单主键
     * @return 货箱出库单
     */
    public WarehouseBoxOutbound selectWarehouseBoxOutboundById(String id);

    /**
     * 查询货箱出库单列表
     *
     * @param warehouseBoxOutbound 货箱出库单
     * @return 货箱出库单集合
     */
    public List<WarehouseBoxOutbound> selectWarehouseBoxOutboundList(WarehouseBoxOutbound warehouseBoxOutbound);

    /**
     * 新增货箱出库单
     *
     * @param warehouseBoxOutbound 货箱出库单
     * @return 结果
     */
    public int insertWarehouseBoxOutbound(WarehouseBoxOutbound warehouseBoxOutbound);

    /**
     * 修改货箱出库单
     *
     * @param warehouseBoxOutbound 货箱出库单
     * @return 结果
     */
    public int updateWarehouseBoxOutbound(WarehouseBoxOutbound warehouseBoxOutbound);

    /**
     * 删除货箱出库单
     *
     * @param id 货箱出库单主键
     * @return 结果
     */
    public int deleteWarehouseBoxOutboundById(String id);

    /**
     * 批量删除货箱出库单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseBoxOutboundByIds(String[] ids);
}
